﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace NetCore6WebAPITestOneEntity
{
    /// <summary>
    /// 
    /// </summary>
    [XmlRoot(ElementName = "AFI_ReturnOrderOut",Namespace = "http://schemas.microsoft.com/dynamics/2008/01/documents/AFI_ReturnOrderOut")]
    public class ReturnOrderOutModel
    {
        //public ReturnOrderOutModel()
        //{
        //    SalesTable = new SalesTableModel();
        //}

        /// <summary>
        ///  
        /// </summary>
        [XmlElement(ElementName = "DocPurpose")]
        public string DocPurpose { get; set; }


        /// <summary>
        /// 
        /// </summary>
        [XmlElement(ElementName = "SenderId")]
        public string SenderId { get; set; }

        [XmlElement("SalesTable")]
        public SalesTableModel SalesTable { get; set; }
    }
}
